import React, { Component } from "react";

import { Card, Spin,Icon } from "antd";
import './ui.scss'

const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />
export default class Loading extends Component {
    
  render() {
    return (
      <div>
        <Card title="基础与大小">
          <Spin size="small" />
          <Spin />
          <Spin size="large" />
          <Spin indicator={antIcon} />
        </Card>
      </div>
    );
  }
}
